package MicronautTest.ioc;

import javax.inject.Named;
import javax.inject.Singleton;

@Singleton
public class Vehicle {
    private final Engine mEngine;

    public Vehicle(Engine engine) {
        mEngine = engine;
    }

    public String start() {
        return mEngine.start();
    }
}
